package com.linko.intelligent.remote.pojo.query;


import com.linko.intelligent.base.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class IotQuery extends BaseQuery {

    /**
     * 设备sn
     */
    @ApiModelProperty(value = "设备sn")
    private String sn;

    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    private String deviceNo;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

}
